projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc39bc3
)
(gnus-update-read-articles): Remove duplicated article numbers on group exit.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 4 Feb 1996 17:53:09 +0000
(17:53 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 4 Feb 1996 17:53:09 +0000
(17:53 +0000)
lisp/gnus.el
patch
|
blob
|
history
diff --git
a/lisp/gnus.el
b/lisp/gnus.el
index 299abcb257eb26ffd7ca6515c34ea812a28dceac..7b89b24994fdc3160ebfe6eb8df4c4dcea56e909 100644
(file)
--- a/
lisp/gnus.el
+++ b/
lisp/gnus.el
@@
-12713,6
+12713,12
@@
Returns whether the updating was successful."
(while (and dormant (< (car dormant) (car active)))
(setq dormant (cdr dormant)))
(setq unread (sort (append unselected unread) '<))
+ ;; Weed out duplicates.
+ (let ((un unread))
+ (while (cdr un)
+ (if (eq (car un) (car (cdr un)))
+ (setcdr un (cdr (cdr un)))
+ (setq un (cdr un)))))
;; Compute the ranges of read articles by looking at the list of
;; unread articles.
(while unread